package logMonitor.domain;

import java.io.Serializable;

/**
 * Created by lenovo on 2017/12/28.
 */
public class Message implements Serializable {
    private static final long serialVersionUID = -7582420669050945809L;
    private String src_ip;//源IP
    private String dst_ip;//目的IP
    private String time;//时间
    private String flag;//标记
    private String src_port;//源端口
    private String dst_port;//目的端口
    private String pro;//类型
    private String id;//ip.id
    private String seq;//序号
    private String ack;//确认

    public String getSrc_ip() {
        return src_ip;
    }

    public void setSrc_ip(String src_ip) {
        this.src_ip = src_ip;
    }

    public String getDst_ip() {
        return dst_ip;
    }

    public void setDst_ip(String dst_ip) {
        this.dst_ip = dst_ip;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getFlag() {
        return flag;
    }

    public void setFlag(String flag) {
        this.flag = flag;
    }

    public String getSrc_port() {
        return src_port;
    }

    public void setSrc_port(String src_port) {
        this.src_port = src_port;
    }

    public String getDst_port() {
        return dst_port;
    }

    public void setDst_port(String dst_port) {
        this.dst_port = dst_port;
    }

    public String getPro() {
        return pro;
    }

    public void setPro(String pro) {
        this.pro = pro;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getSeq() {
        return seq;
    }

    public void setSeq(String seq) {
        this.seq = seq;
    }

    public String getAck() {
        return ack;
    }

    public void setAck(String ack) {
        this.ack = ack;
    }

    @Override
    public String toString() {
        return "Message{" +
                "src_ip='" + src_ip + '\'' +
                ", dst_ip='" + dst_ip + '\'' +
                ", time='" + time + '\'' +
                ", flag='" + flag + '\'' +
                ", src_port='" + src_port + '\'' +
                ", dst_port='" + dst_port + '\'' +
                ", pro='" + pro + '\'' +
                ", id='" + id + '\'' +
                ", seq='" + seq + '\'' +
                ", ack='" + ack + '\'' +
                '}';
    }
}
